package cn.ym.ymcc.mapper;

import cn.ym.ymcc.domain.Course;
import cn.ym.ymcc.query.CourseQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 210513347@qq.com
 * @since 2023-05-08
 */
public interface CourseMapper extends BaseMapper<Course> {

    void saveCourseTeacher(@Param("courseId") Long courseId, @Param("teacherIds") List<Long> teacherIds);

    List<Course> queryData(CourseQuery query);

}
